/* $Id: DuplicateClientLicenseException.java 
 * Copyright (C) 2011, TRAKHEES
 *  
 * Revision History
 *
 * Date  			Author 		    	Remarks
 * ---------------------------------------------------------------------------------
 *
 */
package ae.pcfc.etks.online.common.exception;

public class DuplicateClientLicenseException extends InvalidInputException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5194432467323463930L;
	private String licenseNo;
	private String licenseIssuingAuthorityID;

	public DuplicateClientLicenseException(final String licenseNo,final String licenseIssuingAuthorityID) {
		this.licenseNo = licenseNo;
		this.licenseIssuingAuthorityID = licenseIssuingAuthorityID;
		getErrorMessageArgList().add(licenseNo);
		getErrorMessageArgList().add(licenseIssuingAuthorityID);
	}

	/**
	 * @return the licenseNo
	 */
	public String getLicenseNo() {
		return licenseNo;
	}

	/**
	 * @return the licenseIssuingAuthorityID
	 */
	public String getLicenseIssuingAuthorityID() {
		return licenseIssuingAuthorityID;
	}

	
}
